.demo {
    box-sizing: border-box;
    margin: 10px auto;
    padding: 10px;
    width: 200px;
    border: 1px solid #CCC;

    .num {
        display: block;
        font-size: 20px;
        line-height: 40px;
    }
}